package hu.diploma.common.vos;

import hu.diploma.common.enums.GroupTypes;

import java.util.LinkedList;
import java.util.List;

public class GroupVo extends BaseVo {

	private String name;

	private DeviceVo device;

	private List<PersonVo> people = new LinkedList<PersonVo>();

	private GroupTypes type;

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public DeviceVo getDevice() {
		return this.device;
	}

	public void setDevice(DeviceVo device) {
		this.device = device;
	}

	public List<PersonVo> getPeople() {
		return this.people;
	}

	public void setPeople(List<PersonVo> people) {
		this.people = people;
	}

	public void setType(GroupTypes type) {
		this.type = type;
	}

	public GroupTypes getType() {
		return this.type;
	}

	@Override
	public String toString() {
		return "GroupVo [device=" + ", name=" + this.name + ", type=" + this.type + ", getDeleted()=" + this.getDeleted() + ", getId()=" + this.getId()
				+ ", getPhoneId()=" + this.getPhoneId() + ", getVersion()=" + this.getVersion() + "]";
	}

}
